function open_demo(S)

% This file is used to open up the specified demo "S"
 
% MODIFIED BY: loafellin
% VERSION    : 2012-Mar-22

p = mfilename('fullpath');
[ppath, name, ext] =fileparts(p);
docURL = [ppath, filesep, 'demo', filesep, S];
edit(docURL)
